package com.javasm.adminapi.module.aftersalesbase.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (Repair)表实体类
 *
 * @author makejava
 * @since 2025-10-14 20:03:26
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Repair extends Model<Repair> {
//维修点唯一标识
    @TableId(type = IdType.AUTO)
    private Integer id;
//维修点名称
    private String repName;
//维修点地址
    private String repAddress;
//联系电话
    private String repNumber;
//联系人
    private String repConcact;
//负责人Id（关联系统用户表sys_user）
    private Integer managerId;
//维修点所在城市
    private String repCity;
//维修点所在省份
    private String repPro;
//创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
//更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
//备注
    private String remark;
//状态（0 = 禁用，1 = 启用）
    private Integer status;

}
